package com.wisezone.workflow.dao;

import com.wisezone.common.Pagination;
import com.wisezone.common.dao.BaseDao;
import com.wisezone.workflow.bean.search.WorkFlowSearch;
import com.wisezone.workflow.exception.WfDaoException;

/**
 * 流程实例接口
 * 
 * @author tss 2009-09-05
 * 
 */
public interface WfProcessInstanceDao extends BaseDao {

	 /**
	 * 当前流程实例相关信息查询
	 * @param hql
	 * @param searchEntity
	 * @return
	 * @throws Exception
	 */
	public<T> Pagination<T> listFormByPage(WorkFlowSearch searchEntity) throws WfDaoException;
}